package org.lvgo.adapter.clazz;

/**
 * @author lvgo
 * @version 1.0
 * @Description: 天狗
 * @date 18-8-21 下午1:41
 */
public class SkyDog extends Dog implements Birds {


    public SkyDog() {
        super.setMouth(2);
        System.out.println("天狗诞生，有" + super.getEyes() + "只眼睛，" + super.getMouth() + "张嘴");
    }

    /**
     * 天狗也可以飞
     */
    @Override
    public void fly() {
        System.out.println("天狗起飞升天了～");
    }
}
